package com.example.demo.service;


import com.example.demo.model.vo.PlantAddVo;
import com.example.demo.model.vo.PlantCerteriaVo;
import com.example.demo.model.vo.PlantUpdateVo;
import com.example.demo.model.vo.PlantVo;
import com.example.demo.util.AllRecords;
import com.example.demo.util.Result;

/**
 * Created by Lx on 2018/6/27.
 */
public interface PlantService {
    Result<PlantAddVo> addPlant(PlantAddVo plantAddVo);
    Result<PlantUpdateVo> updatePlant(PlantUpdateVo plantUpdateVo);
    Result<AllRecords<PlantVo>> queryPage(PlantCerteriaVo plantCerteriaVo);
}
